#ifndef __FD_WRAPPER_H__
#define __FD_WRAPPER_H__

#include <errno.h>
#include <fcntl.h>
#include <cstring>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/types.h>          
#include <netinet/tcp.h>

int set_socket_nonblock( int fd );

int set_socket_linger( int fd );

int set_socket_reusable( int fd );

int set_socket_keepalive( int fd );

int set_socket_nodelay( int fd );

#endif
